class Highlight{

    private static readonly instance = new Highlight();

    private keyword: string = "";

    private constructor() {
    }

    public setKeyword(keyword: string): void {
        this.keyword = keyword;
    }

    public getKeyword(): string {
        return this.keyword;
    }

    public clearKeyword(): void {
        this.keyword = "";
    }

    public static getInstance(): Highlight {
        return this.instance;
    }
}

export default Highlight;